package esception;

import java.awt.*;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLDataException;

public class ThrowsDemo2 {
    public void dosome() throws IOException, AWTException {
    }
}
class SunClass extends ThrowsDemo2 {

    //public void dosome() throws IOException, AWTException {}
    //public void dosome(){}
    //public void dosome() throws IOException{}
    //public void dosome() throws FileNotFoundException{}
    //public void dosome() throws IllegalAgeException{}
}